﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="SquaredUPLoad.aspx.cs" Inherits="View_MIS_SquaredUPLoad" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <script type="text/javascript">
        $(document).ready(function() {
            var name_collect = $("#<%=hdn_name_collect.ClientID %>").val().split(",");
            var value_collect = $("#<%=hdn_value_collect.ClientID %>").val().split(",");
            for (xx = 0; xx < name_collect.length; xx++) {
                if (value_collect[xx] == "0") {
                    $("." + name_collect[xx]).hide();
                }
            }
        });    

    </script>
 
    
    <asp:HiddenField ID="hdn_name_collect"  runat="server" />
    <asp:HiddenField ID="hdn_value_collect" runat="server" />
             
    <div class="criteria_class">
        <table>            
            <tr>
                <td colspan="2">
                    <p>如果無法上傳預算執行分析，請call37539</p>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="upLoad">                    
                        <asp:FileUpload ID="upLoad" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="upLoad">
                        <asp:Button id="btnUPLoad" 
                           Text="上傳預算矩陣表檔案"
                           class="btn"
                           OnClick="btnUPLoad_Click"
                           runat="server">
                       </asp:Button>                    
                   </div>
                </td>
            </tr>
            
            <tr>
                <td>
                    <div class="upLoadBonus">
                        <asp:FileUpload ID="upLoadBonus" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="upLoadBonus">
                        <asp:Button id="btnBonus" 
                           Text="上傳年獎員額及盈餘空間彙總檔"
                           class="btn"
                           OnClick="btnBonus_Click"
                           runat="server">
                       </asp:Button>     
                   </div>               
                </td>
            </tr>
            
            
            <tr>
                <td>
                    <div class="upLoadKPI">
                        <asp:FileUpload ID="upLoadKPI" runat="server" />        
                    </div>                        
                </td>
                <td>
                    <div class="upLoadKPI">
                        <asp:Button id="btnKPI" 
                           Text="上傳KPI"
                           class="btn"
                           OnClick="btnKPI_Click"
                           runat="server">
                       </asp:Button>                    
                    </div>   
                </td>
            </tr>
            
            
            <tr>
                <td>
                    <div class="upLoadBus">
                        <asp:FileUpload ID="upLoadBus" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="upLoadBus">
                        <asp:Button id="btnBus" 
                           Text="上傳經委會季追蹤報告檔(投影片)"
                           class="btn"
                           OnClick="btnBus_Click"
                           runat="server">
                       </asp:Button>               
                   </div>     
                </td>
            </tr>
            
            
           <tr>
                <td>
                    <div class="upLoadQ1">
                        <asp:FileUpload ID="upLoadQ1" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="upLoadQ1">
                        <asp:Button id="btnQ1" 
                           Text="上傳季績效追蹤(EXCEL)"
                           class="btn"
                           OnClick="btnQ1_Click"
                           runat="server">
                       </asp:Button>   
                   </div>                 
                </td>
            </tr>
            
             <tr>
                <td>
                    <div class="NextYear">
                        <asp:FileUpload ID="FileUpload1" runat="server" />        
                    </div>
                </td>
                <td>
                   <div class="NextYear">
                        <asp:Button id="btnNextYear" 
                           Text="年度預算投影片(大董用)"
                           class="btn"
                           OnClick="btnNextYear_Click"
                           runat="server">
                       </asp:Button>          
                   </div>          
                </td>
            </tr>
            
             <tr>
                <td>
                    <div class="uploadBudget">
                      <asp:FileUpload ID="uploadFast" runat="server" />                
                    </div>
                </td>
                <td>
                    <div class="uploadBudget">
                         <asp:Button id="Button1" 
                           Text="上傳預算執行分析<<快速>>"
                           class="btn"
                           OnClick="btnFastUpload_click"
                           runat="server">
                       </asp:Button>               
                   </div>
                </td>
            </tr>
            
            <tr>
                <td>
                    <div class="uploadCost">
                        <asp:FileUpload ID="uploadCost" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="uploadCost">
                        <asp:Button id="btnCost" 
                           Text="上傳營業費用BG"
                           class="btn"
                           OnClick="btnCost_Click"
                           runat="server">
                       </asp:Button>                    
                   </div>
                </td>                                
            </tr>
            
            <tr>
                <td>
                    <div class="upLoadBus2">
                        <asp:FileUpload ID="upLoadBus2" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="upLoadBus2">
                        <asp:Button id="Button2" 
                           Text="上傳經委會預算(投影片)"
                           class="btn"
                           OnClick="btnBus2_Click"
                           runat="server">
                       </asp:Button>               
                   </div>     
                </td>
            </tr>
            <tr>
                <td>
                    <div class="uploadBudgetPPT">
                        <asp:FileUpload ID="uploadBudgetPPT" runat="server" />        
                    </div>
                </td>
                <td>
                    <div class="uploadBudgetPPT">
                        <asp:Button id="btnBudgetPPT" 
                           Text="每月預算執行分析附件(投影片)"
                           class="btn"
                           OnClick="btnBudgetPPT_Click"
                           runat="server">
                       </asp:Button>               
                   </div>     
                </td>
            </tr>
        </table>
        <asp:Label ID="lblResult" runat="server" ForeColor="Red" Text=""></asp:Label>
        
        <br />
        <asp:HyperLink ID="linkExcel" runat="server"></asp:HyperLink>
    </div>
</asp:Content>

